

<div class="col-sm-12 mt20" >
<div class="panel panel-default">
<div class="panel-body">
<div class="col-sm-12">

    <div class="row">
        <div class="col-sm-2">
            <input type="text" class="form-control" ng-model="searchform.nickname" placeholder="昵称">
        </div>

        <div class="col-sm-2">
            <input type="text" class="form-control" ng-model="searchform.code" placeholder="订单编号">
        </div>

        <div class="col-sm-2">
            <input type="text" class="form-control" datepicker-popup="yyyy-MM-dd" ng-model="start_time.date" is-open="start_time.opened"
                ng-click="open($event, start_time)" placeholder="开始时间" ng-required="true"  close-text="关闭" current-text="今天" clear-text="清除"  readonly/>
        </div>
        <div class="col-sm-2">
            <input type="text" class="form-control" datepicker-popup="yyyy-MM-dd" ng-model="end_time.date" is-open="end_time.opened"
                ng-click="open($event, end_time)" placeholder="结束时间" ng-required="true"  close-text="关闭" current-text="今天" clear-text="清除"  readonly/>
        </div>
        <div class="col-sm-2">
           <ui-select ng-model="searchform.type" theme="bootstrap" ng-keyup="myKeyup($event)">
                  <ui-select-match placeholder="业务类型">
                    {{$select.selected.title}}
                  </ui-select-match>
                  <ui-select-choices repeat="item.code as item in typearr | filter: $select.search">
                    <span ng-bind-html="item.title | highlight: $select.search"></span>
                  </ui-select-choices>
            </ui-select>
        </div>

        

        <div class="col-sm-2 ">
            <button class="btn btn-block btn-info" ng-click="load(searchform)">搜索</button> 
        </div>

    </div>

</div>
</div>
</div>
<!-- searchArea -->

<div class="panel panel-default">
    <div class="panel-body">
        <table class="table table-condensed table-hover table-bordered">
            <thead>
                <tr>
                    <th class="col-md-2 text-center">时间</th>
                    <th class="col-md-1 text-center">头像</th>
                    <th class="col-md-3 text-center">昵称</th>
                    <th class="col-md-1 text-center">业务类型</th>
                    <th class="col-md-1 text-center">金额</th>
                    <th class="col-md-2 text-center">订单编号</th>
                    <th class="col-md-2 text-center">操作</th>
                </tr>
            </thead>
            <tbody>
                <tr ng-repeat="obj in objs">
                    <td class="text-center">
                        {{obj.create_time}}
                    </td>
                    <td class="text-center">
                        <img ng-src="{{obj.headimgurl}}" ng-model="obj.headimgurl" class="img-responsive" style="border-radius:100px;">
                    </td>
                    <td class="text-center">
                        {{obj.nickname}}
                    </td>
                    <td class="text-center">
                        {{obj.type_label}}
                    </td>
                    <td class="text-center">
                        {{obj.amount | currency : '￥'}}
                    </td>
                    <td class="text-center">
                        {{obj.code}}
                    </td>
                    <td class="text-center">
                        <a ng-if="obj.type == '1'"
                         ng-click="info(obj.code)" class="btn btn-success btn-xs">查看</a>
                    </td>
                </tr>
            </tbody>
        </table>
        <div class="text-right">
             <pagination total-items="bigTotalItems" ng-model="bigCurrentPage" ng-change="load()" previous-text="上一页" next-text="下一页"
                first-text="首页" last-text="尾页" max-size="maxSize" boundary-links="true" rotate="false" items-per-page="itemsPerPage"
                class="m-t-none m-b">
            </pagination>
        </div>
    </div>
</div>

</div>